globalThis.__utils_activeEffect;
/**
 * @description 响应式
 * @param {*} active
 */
function effect(active) {
    let lastActiveEffect = globalThis.activeEffect;
    try {
        globalThis.__utils_activeEffect = active
        // 执行响应式函数
        active();
    } finally {
        globalThis.__utils_activeEffect = lastActiveEffect;
    }
}

module.exports = effect;